using UnityEngine;

public class OnlineWheel : MonoBehaviour
{
	public bool steerWheel;

	public CarBehavior carBehavior;

	private void Update()
	{
		if ((bool)carBehavior && !carBehavior.isMine && carBehavior.currentSpeedOnline > 0.005f)
		{
			base.transform.Rotate(carBehavior.currentSpeedOnline * carBehavior.currentDirectionOnline * 5f, 0f, 0f);
		}
	}
}
